clc;
syms k n;
S=symsum((-1)^n*symprod((2*k-1)/(2*k),k,1,n),n,0,inf)